From 3d3f5727a584a8d5099f9042b1724b7530370d51 Mon Sep 17 00:00:00 2001 From: justbur Date: Mon, 13 Jul 2015 08:59:39 -0400 Subject: [PATCH] Minor change to previous refactor --- which-key.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/which-key.el b/which-key.el index 04cf13d1319..a08d71c4821 100644 --- a/which-key.el +++ b/which-key.el @@ -678,8 +678,8 @@ BUFFER that follow the key sequence KEY-SEQ." (defsubst which-key//join-columns (columns) "Transpose columns into rows, concat rows into lines and concat rows into page." - (let* (;; pad columns to same length and reverse order - (padded (reverse (apply (apply-partially #'-pad "") columns))) + (let* (;; pad reversed columns to same length + (padded (apply (apply-partially #'-pad "") (reverse columns))) ;; transpose columns to rows (rows (apply #'cl-mapcar #'list padded))) ;; join lines by space and rows by newline -- 2.30.2